package com.lotus.lqmp.service.sdk.api;

import com.lotus.platform.common.model.base.BaseResult;
import com.lotus.lqmp.service.sdk.constant.XXXApiConstant;
import com.lotus.lqmp.service.sdk.dto.req.XXXReqDTO;
import com.lotus.lqmp.service.sdk.dto.resp.XXXRespDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * XXX feign接口
 * 通过nacos调用
 * @author Liwei.Zhang3
 * @since 2022/03/11 09:13
 */
@FeignClient(value = XXXApiConstant.XXX_SERVER, path = XXXApiConstant.XXX_API)
public interface XXXApi {

    @PostMapping("echo")
    BaseResult<XXXRespDTO> echo(@RequestBody XXXReqDTO reqDTO);
}
